← Back to all articles
8/24/2026

How to Calculate Product Profit in Shopify: A Complete Guide

Running a Shopify store gives you access to plenty of sales information. You can see how many products you sold, how much revenue you generated, and how many orders came in. But there is another number that matters just as much.

Your actual profit.

A product can generate a lot of sales and still make very little money. This usually happens when product costs, shipping, payment fees, discounts, advertising expenses, refunds, and other costs are not taken into account.

Knowing the profit you make from each product gives you a much clearer picture of how your store is performing.


What Product Profit Means

Product profit is the amount left after subtracting the costs associated with selling a product from the revenue generated by that product.

A simple formula is:

Product Profit = Product Revenue minus Product Costs

The exact calculation can be more detailed depending on which costs you include.

For example, suppose you sell a product for 80 dollars.

The product costs you 30 dollars to purchase.

You also spend 5 dollars on payment processing, 8 dollars on shipping, and 7 dollars in advertising costs that you attribute to the sale.

Your calculation would look like this:

Revenue: 80 dollars

Product cost: 30 dollars

Payment fee: 5 dollars

Shipping: 8 dollars

Advertising cost: 7 dollars

Profit: 30 dollars

Your store generated 80 dollars in revenue from the sale, but the amount left after these costs was 30 dollars.

That difference is important when deciding whether the product is actually worth selling and promoting.


Revenue Is Not the Same as Profit

One of the most common mistakes Shopify store owners make is treating revenue as earnings.

Suppose your store sells 500 units of a product for 40 dollars each.

Your revenue is:

500 multiplied by 40 dollars = 20,000 dollars

That 20,000 dollars is not your profit.

If each product costs 18 dollars, your product cost alone is 9,000 dollars.

You may also have payment processing fees, shipping expenses, advertising costs, refunds, discounts, packaging costs, and other expenses.

After those costs are taken into account, your actual profit could be considerably lower.

This is why looking only at sales can give you the wrong impression about how well a product is performing.


Step 1: Find the Product Selling Price

Start with the amount customers actually pay for the product.

If a product normally sells for 100 dollars but you offer it at a 20 percent discount, the customer pays 80 dollars.

Your profitability calculation should account for the actual selling price rather than simply using the original listed price.

This becomes particularly important when your store regularly uses discount codes, automatic discounts, sales, or promotional pricing.


Step 2: Calculate the Product Cost

The next important number is your product cost.

This is commonly referred to as cost of goods sold, or COGS.

For a retailer, this might be the amount paid to purchase the product from a supplier.

For a manufacturer, it may include the materials and production costs associated with making the product.

For example:

Selling price: 75 dollars

Product cost: 30 dollars

At this stage:

75 dollars minus 30 dollars = 45 dollars

You have 45 dollars remaining before considering other costs.


Step 3: Include Payment Processing Fees

Payment processing fees can reduce the amount you keep from each sale.

The exact fee depends on the payment provider, payment method, location, and agreement associated with your store.

For example, if a payment fee on a 75 dollar sale is 2.50 dollars:

75 dollars minus 30 dollars minus 2.50 dollars = 42.50 dollars

The product has generated 42.50 dollars after the product cost and payment processing fee in this example.

The actual fee structure for your store should always be used when calculating profitability.


Step 4: Account for Shipping and Fulfillment Costs

Shipping can have a noticeable effect on product profitability.

Suppose you charge the customer 5 dollars for shipping but your actual fulfillment and shipping cost is 9 dollars.

The business is absorbing the remaining 4 dollars.

Packaging materials, warehouse handling, fulfillment charges, and other delivery related costs can also affect profitability depending on your operation.

For example:

Product revenue: 75 dollars

Product cost: 30 dollars

Payment fee: 2.50 dollars

Shipping and fulfillment: 9 dollars

Remaining amount: 33.50 dollars

This gives you a more realistic view than looking at the product price alone.


Step 5: Consider Discounts and Refunds

Discounts reduce the amount of revenue you receive from a sale.

Refunds can affect both revenue and profitability, depending on the circumstances and which costs are recovered.

For example, a product priced at 100 dollars may be sold for 80 dollars after a discount.

If the product costs 40 dollars, the discount has reduced the amount available to cover your remaining costs.

This is why profitability should be calculated using actual transaction data whenever possible.


Step 6: Include Advertising Costs When Appropriate

Advertising is another major expense for many Shopify stores.

Suppose you spend 1,000 dollars on advertising and that advertising campaign generates 100 orders.

A simple allocation would be:

1,000 dollars divided by 100 orders = 10 dollars advertising cost per order

If a product generates 60 dollars in revenue and costs 25 dollars to purchase, adding 10 dollars in advertising cost changes the calculation significantly.

Revenue: 60 dollars

Product cost: 25 dollars

Advertising cost: 10 dollars

Remaining amount: 25 dollars

Payment processing, shipping, refunds, and other applicable costs could reduce that amount further.

The exact way advertising costs should be allocated depends on your attribution method and business model. The important thing is to use a consistent approach.


Step 7: Calculate Product Profit

Once you have the relevant numbers, you can calculate the profit.

A basic calculation looks like this:

Product Profit = Revenue minus Product Cost minus Other Applicable Costs

For example:

Revenue: 100 dollars

Product cost: 35 dollars

Payment processing: 3 dollars

Shipping and fulfillment: 10 dollars

Advertising: 12 dollars

Other applicable costs: 5 dollars

Product profit: 35 dollars

In this example, the product generated 100 dollars in revenue and 35 dollars in profit after the listed costs.


Step 8: Calculate Profit Margin

Profit margin puts your profit into perspective.

The formula is:

Profit Margin = Profit divided by Revenue multiplied by 100

Using the previous example:

Profit: 35 dollars

Revenue: 100 dollars

Profit margin: 35 percent

This means 35 percent of the revenue remained as profit after the costs included in the calculation.

Profit margin is useful when comparing products with different selling prices.


Why Product Level Profit Matters

Store level profit is useful, but it does not always tell you which products are responsible for that result.

Imagine your store sells three products.

Product A generates 20,000 dollars in revenue and 2,000 dollars in profit.

Product B generates 10,000 dollars in revenue and 4,000 dollars in profit.

Product C generates 5,000 dollars in revenue and 2,500 dollars in profit.

If you only look at revenue, Product A appears to be the clear winner.

If you look at profit, Product B and Product C are more attractive.

This information can influence decisions about advertising, pricing, inventory, and promotions.


A Product With High Sales Can Still Be a Poor Performer

A product can be popular with customers without being particularly profitable.

This can happen when:

The product has a high purchase cost

The selling price is too low

The product requires expensive shipping

It is frequently discounted

It generates a high number of returns

Advertising costs are high

Payment and transaction fees are significant

Packaging and fulfillment costs are expensive

This is why product performance should not be judged by sales volume alone.


Example of a Complete Product Profit Calculation

Consider a Shopify product that sells for 120 dollars.

The costs associated with one sale are:

Product cost: 45 dollars

Payment processing: 4 dollars

Shipping and fulfillment: 12 dollars

Advertising: 15 dollars

Discount: 10 dollars

Other applicable costs: 4 dollars

The calculation would be:

120 dollars minus 10 dollars discount = 110 dollars actual revenue

110 dollars minus 45 dollars product cost = 65 dollars

65 dollars minus 4 dollars payment fee = 61 dollars

61 dollars minus 12 dollars shipping and fulfillment = 49 dollars

49 dollars minus 15 dollars advertising = 34 dollars

34 dollars minus 4 dollars other costs = 30 dollars profit

The product generated 110 dollars in actual revenue after the discount and 30 dollars in profit after the listed costs.

The profit margin would be:

30 divided by 110 multiplied by 100 = 27.27 percent

Without considering these costs, the product might appear much more profitable than it really is.


Which Costs Should You Include?

There is no single profitability formula that works identically for every Shopify business.

A store selling digital products will have very different costs from a store selling physical products.

A dropshipping store will have different expenses from a manufacturer.

A business running its own warehouse will have different fulfillment costs from one using a third party logistics provider.

Common costs that may be relevant include:

Product cost

Packaging

Shipping

Fulfillment

Payment processing

Transaction fees

Advertising

Discounts

Refunds

Returns

Marketplace fees

Other directly attributable costs

The key is to decide which costs are relevant to the profitability metric you want to track and apply the same methodology consistently.


Product Profit and Store Profit Are Different

Another important point is that product profit is not necessarily the same as the final profit of your entire business.

Your store may have expenses that cannot reasonably be assigned to individual products.

These could include:

Office expenses

Software subscriptions

Salaries

Professional services

Accounting

General administrative expenses

Rent

Other overhead

A product can therefore have a positive contribution after its direct and attributable costs while the business as a whole has a much lower profit after operating expenses.

For this reason, it is useful to distinguish between product level profitability and overall business profitability.


Why Manual Profit Tracking Becomes Difficult

Calculating profit for a few products is relatively simple.

The problem starts when your store has hundreds or thousands of products and a large number of orders.

Costs change.

Product prices change.

Discounts change.

Shipping costs change.

Advertising costs change.

Refunds happen.

New products are added.

Doing all of this manually in a spreadsheet can quickly become time consuming and difficult to maintain accurately.

A profitability tracking system can make it easier to bring sales and cost information together and monitor product performance over time.


What a Good Product Profitability Report Should Show

A useful report should make it easy to understand the financial performance of each product.

Depending on your business and calculation method, useful information can include:

Product name

Units sold

Revenue

Product cost

Discounts

Refunds

Shipping and fulfillment costs

Payment fees

Advertising costs

Profit

Profit margin

With these numbers in one place, it becomes much easier to identify products that deserve more attention and products that may need a pricing or cost review.


How Product Profit Can Help With Business Decisions

Once you know the actual profit generated by each product, you can make better decisions.

You may find that a product with high sales deserves more advertising because it has a strong margin.

You may discover that another popular product needs a price increase because its costs leave very little profit.

You may also find products that generate relatively low revenue but have excellent margins.

This information can help you decide where to put your advertising budget, which products to promote, what inventory to reorder, and where to look for unnecessary costs.


Final Thoughts

Calculating product profit in Shopify is about looking beyond the sales number.

Revenue tells you how much customers spent. Product costs and other applicable expenses tell you how much of that revenue was actually available to your business.

A simple approach is:

Product Profit = Actual Revenue minus Product Cost minus Other Applicable Costs

Once you calculate this consistently, you can also calculate profit margin and compare the performance of different products.

The more accurately you understand your product level profitability, the easier it becomes to make decisions based on real numbers rather than sales volume alone.

For a growing Shopify store, knowing which products generate revenue is useful.

Knowing which products generate profit is far more valuable.